#include <interfacelib/window/Caption.h>

using namespace interfacelib::Window;

Caption::Caption()
{
}

Caption::~Caption()
{
}

void Caption::preTranslateMessage( MSG *msg )
{
	if ( msg->message == WM_LBUTTONDOWN )
	{
		postMessage( WM_NCLBUTTONDOWN, HTCAPTION , NULL );
	}
	Panel::preTranslateMessage( msg );
}

